package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.User;

import javax.servlet.http.HttpSession;

public interface UserService {
    

    User login(String phone, String code, HttpSession session);

    String sendMsg(User user, HttpSession session);

    R<String> loginout(HttpSession session);
}
